package com.punai.system.service;

import com.punai.common.core.domain.entity.SysUser;
import com.punai.system.domain.CsLinkUserRole;

import java.util.List;

public interface CsRoleLinkUserService {
    List<SysUser> selectLinkUserList(SysUser sysUser);

    int insertAuthUsers(String roleId, Long[] userIds,Long companyId);

    List<SysUser> selectUnallocatedList(SysUser user);

    int cancelAll(Long roleId, Long[] userIds, Long companyId);

    int cancel(CsLinkUserRole csLinkUserRole);
}
